package com.whh.permission.service;

import com.whh.permission.po.Dept;
import com.whh.permission.po.Node;

import java.util.List;

public interface DeptService {
    List<Dept> queryDeptAll();
    void addDept(Dept dept);
    Dept queryDeptByID(Integer id);
    void updateDept(Dept dept);
    void deleteDeptById(Integer id);
    /**
     * 查询部门树
     */
    List<Node> queryDeptTree();
}
